package com.woniu.new_orange.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @TableName dept
 */
@Data
@ApiModel("部门类")
public class Dept implements Serializable {

    @ApiModelProperty("部门ID")
    private Integer deptId;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("部门现有人员数量")
    private Integer deptNum;

    @ApiModelProperty("部门创建日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date deptDate;

    @ApiModelProperty("部门备注信息")
    private String deptDesc;

    private static final long serialVersionUID = 1L;
}